{% extends "base.html"%}

{% block contenido %}

<table>
		<form name="new-user-form" action="/guardar_password_nuevo/" method="post">  {% csrf_token %}
			<tr>
			<td>Password viejo:</td> <td>{{ form.passwordviejo}}</td>
			</tr>
			<tr>
			<td colspan="2" align="center">                                                             
				{{ form.password1.errors }}
			<td>
			</tr>
			<tr>
			<td>Password nuevo:</td> <td>{{form.password1}}</td>
			</tr>
			<tr>
			<td colspan="2" align="center">                                                             
				{{ form.password2.errors }}
			<td>
			</tr>
			<tr>
			<td>Confirmar Password:</td> <td> {{form.password2}}</td>
			</tr>
			<tr>
			<td><input type="submit" class="Crear" value="Crear"/></td>
			<td><input type="submit" onclick="Cancelar(this.form)" class="Cancelar" value="Cancelar"/></td>
			
			</tr>
		</form>
	</table>
{% endblock %}